/*
    Project:        Home Power Control
    File:           HPCAlarmValue.cpp
    Author:         christian@karunamusic.at
    Date:           01.2015
    Description:
 */

#include "HPCAlarmValue.h"

HPCAlarmValue::HPCAlarmValue()
    : HPCValue()
{
}

HPCAlarmValue::HPCAlarmValue( const QVariant& val )
    : HPCValue(val)
{
}

HPCAlarmValue::~HPCAlarmValue()
{
}

bool HPCAlarmValue::Alarmed() const
{
    return m_Alarmed;
}

HPCAlarmValue& HPCAlarmValue::Alarmed(bool val)
{
    m_Alarmed = val;
    return *this;
}
